package com.crop.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@TableName("feedback")
@ApiModel(value = "Feedback对象", description = "反馈信息")
public class Feedback implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("反馈内容")
    @TableField("feedback_text")
    private String feedbackText;
    @ApiModelProperty("联系方式类型")
    @TableField("contact_type")
    private String contactType;
    @ApiModelProperty("联系方式信息")
    @TableField("contact_info")
    private String contactInfo;
}
